tudresden.ocl.injection
Class JavaClass
java.lang.Object
tudresden.ocl.injection.JavaFeature
tudresden.ocl.injection.JavaClass
- public class JavaClass
- extends JavaFeature
Represents a class parsed by the java parser.
Is an inner class, if parent is not null.
- See Also:
JavaFeature.getParent()
,
Injector
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaClass
public JavaClass(JavaFile file,
JavaClass parent,
int modifiers,
String name)
throws InjectorParseException
getFullName
public String getFullName()
- Constructs the fully qualified name of this class,
including package path.
getFullNameEscaped
public String getFullNameEscaped()
- Constructs the fully qualified name of this class,
including package path.
The same as
getFullName()
, but without
dots and dollars, so that this string can be used
as part of a java identifier.
isInterface
public final boolean isInterface()
getAllowedModifiers
public final int getAllowedModifiers()
- Description copied from class:
JavaFeature
- Subclasses use this method to specify,
which modifiers are allowed for the specific kind
of feature.
- Specified by:
getAllowedModifiers
in class JavaFeature
printMore
public final void printMore(PrintStream o)
- Overrides:
printMore
in class JavaFeature
Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.