Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

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.


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.
 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 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, getQualifiedName, getSuperclass, getType, getTypeErasure, getTypeSignature, isAnnotation, isArray, isAssignableFrom, isEnum, isInterface, isPrimitive
 
Methods inherited from interface javax.ide.model.java.declaration.HasNameD
getName
 
Methods inherited from interface javax.ide.model.java.declaration.GenericD
getTypeParameters
 
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.HasAnnotationsD
getAnnotations
 

Method Detail

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.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

Copyright © 1997, 2011, Oracle. All rights reserved.