Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.model.java.declaration
Interface ClassD  view ClassD download ClassD.java

All Superinterfaces:
Declaration, GenericD, HasAnnotationsD, HasNameD, HasTypeD, MemberD, TypeD

public interface ClassD
extends TypeD, MemberD, GenericD, HasNameD, HasAnnotationsD

Mirrors a primitive, array, class, interface, enum, or annotation type.


Nested Class Summary
 
Nested classes inherited from class javax.ide.model.java.declaration.Declaration
Declaration.DeclarationKind
 
Field Summary
 
Fields inherited from interface javax.ide.model.java.declaration.TypeD
EMPTY_ARRAY
 
Method Summary
 MethodD getClinitMethod()
          Gets the hidden clinit method, null if none.
 ExecutableD getEnclosingMethod()
          Gets the enclosing method.
 PackageD getPackage()
          Gets the owning package.
 java.lang.String getPackageName()
          Gets the qualified name of the owning package.
 boolean isAbstract()
          True if this is modified with "abstract".
 boolean isAnonymousClass()
          True if this is an anonymous inner class.
 boolean isLocalClass()
          True if this is a local inner class.
 boolean isMemberClass()
          True if this is a member inner class.
 
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, getSourceName, getSuperclass, getType, getTypeErasure, getTypeSignature, isAnnotation, isArray, isAssignableFrom, isEnum, isInterface, isPrimitive
 
Methods inherited from interface javax.ide.model.java.declaration.Declaration
getDeclarationKind, getPosition, isSynthetic
 
Methods inherited from interface javax.ide.model.java.declaration.MemberD
getEnclosingClass, getModifiers, isFinal, isPrivate, isProtected, isPublic, isStatic
 
Methods inherited from interface javax.ide.model.java.declaration.GenericD
getTypeParameters
 
Methods inherited from interface javax.ide.model.java.declaration.HasNameD
getName
 
Methods inherited from interface javax.ide.model.java.declaration.HasAnnotationsD
getAnnotations
 

Method Detail

getPackage

public PackageD getPackage()
Gets the owning package.


getPackageName

public java.lang.String getPackageName()
Gets the qualified name of the owning package. Provided for convenience.


isAbstract

public boolean isAbstract()
True if this is modified with "abstract".


isLocalClass

public boolean isLocalClass()
True if this is a local inner class.


isAnonymousClass

public boolean isAnonymousClass()
True if this is an anonymous inner class.


isMemberClass

public boolean isMemberClass()
True if this is a member inner class.


getEnclosingMethod

public ExecutableD getEnclosingMethod()
Gets the enclosing method.


getClinitMethod

public MethodD getClinitMethod()
Gets the hidden clinit method, null if none.