Skip navigation links
javax.ide.model.java.declaration
Interface ClassD
- All Superinterfaces:
- Declaration, GenericD, HasAnnotationsD, HasNameD, HasTypeD, MemberD, TypeD
-
public interface ClassD
- extends TypeD, MemberD, GenericD, HasNameD, HasAnnotationsD
Represents a primitive, class, interface, enum, or annotation type.
Fields inherited from interface javax.ide.model.java.declaration.TypeD |
EMPTY_ARRAY |
Methods inherited from interface javax.ide.model.java.declaration.TypeD |
equals, getClass, getClasses, getDeclaredClass, getDeclaredClasses, getDeclaredConstructor, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethods, getDeclaredMethods, getDescriptor, getField, getFields, getHierarchy, getInterfaces, getMethod, getMethods, getMethods, getQualifiedName, getSuperclass, getType, getTypeErasure, getTypeSignature, isAnnotation, isArray, isAssignableFrom, isEnum, isInterface, isPrimitive |
Methods inherited from interface javax.ide.model.java.declaration.HasNameD |
getName |
getPackage
PackageD getPackage()
- Gets the owning package.
-
- Returns:
- The owning package declaration. Null if this is a primitive or an array type.
getPackageName
java.lang.String getPackageName()
- Gets the qualified name of the owning package. Provided for convenience.
-
- Returns:
- The qualified name of the owning package. Empty if none.
isAbstract
boolean isAbstract()
- True if this is modified with "abstract".
-
- Returns:
- True if this is modified with "abstract".
isMemberClass
boolean isMemberClass()
- True if this is a member inner class.
-
- Returns:
- True if this is a member inner class.
getClinitMethod
MethodD getClinitMethod()
- Gets the hidden
clinit
method, null if none.
-
- Returns:
- The method declaration for the
clinit
method, null if none.
Skip navigation links
Copyright © 1997, 2013, Oracle. All rights reserved.