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.FileSystem
Environment 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.ClasspathSectionProblemReporterNested classes/interfaces inherited from interface org.eclipse.jdt.internal.compiler.env.IModuleAwareNameEnvironment
org.eclipse.jdt.internal.compiler.env.IModuleAwareNameEnvironment.LookupStrategy -
Field Summary
Fields inherited from class org.eclipse.jdt.internal.compiler.batch.FileSystem
annotationsFromClasspath, classpaths, EMPTY_CLASSPATH, module, moduleLocationsFields 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
ConstructorsConstructorDescriptionClassLoaderEnvironment(ClassLoader classLoader, Set<String> classesToBeCompiled) -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup()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, scanForModulesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jdt.internal.compiler.env.IModuleAwareNameEnvironment
getUniqueModulesDeclaringPackage
-
Constructor Details
-
ClassLoaderEnvironment
-
-
Method Details
-
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
-