Class ClassLoaderEnvironment
- java.lang.Object
-
- org.eclipse.jdt.internal.compiler.batch.FileSystem
-
- org.bonitasoft.engine.business.data.generator.compiler.ClassLoaderEnvironment
-
- All Implemented Interfaces:
org.eclipse.jdt.internal.compiler.env.IModuleAwareNameEnvironment,org.eclipse.jdt.internal.compiler.env.INameEnvironment,org.eclipse.jdt.internal.compiler.util.SuffixConstants
public class ClassLoaderEnvironment extends org.eclipse.jdt.internal.compiler.batch.FileSystemEnvironment provided to the JDT compiler that load class from a classloader instead of a classpath /!\ it extends FileSystem only because the JDT compiler use the subtype instead of Environment- Author:
- Baptiste Mesta
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jdt.internal.compiler.batch.FileSystem
org.eclipse.jdt.internal.compiler.batch.FileSystem.Classpath, org.eclipse.jdt.internal.compiler.batch.FileSystem.ClasspathNormalizer, org.eclipse.jdt.internal.compiler.batch.FileSystem.ClasspathSectionProblemReporter
-
-
Field Summary
-
Fields inherited from class org.eclipse.jdt.internal.compiler.batch.FileSystem
annotationsFromClasspath, classpaths, EMPTY_CLASSPATH, module, moduleLocations
-
Fields inherited from interface org.eclipse.jdt.internal.compiler.util.SuffixConstants
EXTENSION_class, EXTENSION_CLASS, EXTENSION_java, EXTENSION_JAVA, EXTENSION_jmod, EXTENSION_JMOD, SUFFIX_class, SUFFIX_CLASS, SUFFIX_java, SUFFIX_JAVA, SUFFIX_STRING_class, SUFFIX_STRING_CLASS, SUFFIX_STRING_java, SUFFIX_STRING_JAVA
-
-
Constructor Summary
Constructors Constructor Description ClassLoaderEnvironment(java.lang.ClassLoader classLoader, java.util.Set<java.lang.String> classesToBeCompiled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanup()org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswerfindType(char[][] compoundTypeName)org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswerfindType(char[] typeName, char[][] packageName)booleanisPackage(char[][] parentPackageName, char[] className)-
Methods inherited from class org.eclipse.jdt.internal.compiler.batch.FileSystem
applyModuleUpdates, findType, findType, findTypeNames, getAllAutomaticModules, getClasspath, getClasspath, getClasspath, getJrtClasspath, getModule, getModuleFromEnvironment, getModulesDeclaringPackage, getOlderSystemRelease, hasCompilationUnit, listPackages, scanForModules
-
-
-
-
Method Detail
-
findType
public org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer findType(char[][] compoundTypeName)
-
findType
public org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer findType(char[] typeName, char[][] packageName)
-
isPackage
public boolean isPackage(char[][] parentPackageName, char[] className)
-
cleanup
public void cleanup()
- Specified by:
cleanupin interfaceorg.eclipse.jdt.internal.compiler.env.INameEnvironment- Overrides:
cleanupin classorg.eclipse.jdt.internal.compiler.batch.FileSystem
-
-