org.ow2.jonas.eclipse.compiler
Class JOnASNameEnvironment
java.lang.Object
org.ow2.jonas.eclipse.compiler.JOnASNameEnvironment
- All Implemented Interfaces:
- org.eclipse.jdt.internal.compiler.env.INameEnvironment
public class JOnASNameEnvironment
- extends Object
- implements org.eclipse.jdt.internal.compiler.env.INameEnvironment
Central piece of JOnAS glue for eclipse compiler integration.
- Author:
- Guillaume Sauthier
Method Summary |
void |
cleanup()
|
org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer |
findType(char[][] compoundTypeName)
|
org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer |
findType(char[] typeName,
char[][] packageName)
|
boolean |
isPackage(char[][] parentPackageName,
char[] packageName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JOnASNameEnvironment
public JOnASNameEnvironment(CompilationContext context,
List<CompilerError> errors)
- Creates a new
JOnASNameEnvironment
glue.
- Parameters:
context
- CompilationContexterrors
- list of compilation errors
cleanup
public void cleanup()
- Specified by:
cleanup
in interface org.eclipse.jdt.internal.compiler.env.INameEnvironment
- See Also:
INameEnvironment.cleanup()
findType
public org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer findType(char[][] compoundTypeName)
- Specified by:
findType
in interface org.eclipse.jdt.internal.compiler.env.INameEnvironment
- See Also:
INameEnvironment.findType(char[][])
findType
public org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer findType(char[] typeName,
char[][] packageName)
- Specified by:
findType
in interface org.eclipse.jdt.internal.compiler.env.INameEnvironment
- See Also:
INameEnvironment.findType(char[],
char[][])
isPackage
public boolean isPackage(char[][] parentPackageName,
char[] packageName)
- Specified by:
isPackage
in interface org.eclipse.jdt.internal.compiler.env.INameEnvironment
- See Also:
INameEnvironment.isPackage(char[][],
char[])
Copyright © 2010 OW2 Consortium. All Rights Reserved.