|
|||||||||
| Home >> All >> javax >> ide >> model >> java >> [ declaration overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.ide.model.java.declaration
Interface MethodD

- All Superinterfaces:
- Declaration, ExecutableD, GenericD, HasAnnotationsD, HasNameD, HasTypeD, MemberD
- public interface MethodD
- extends ExecutableD, HasNameD, HasTypeD
Mirrors a method or annotation element.
An annotation element MUST be a MethodM because annotation types may be extended/implemented where an annotation element will be treated like an ordinary interface method.
| Nested Class Summary |
| Nested classes inherited from class javax.ide.model.java.declaration.Declaration |
Declaration.DeclarationKind |
| Method Summary | |
java.lang.Object |
getDefaultValue()
Gets the default value, null if this is not an annotation element. |
TypeD |
getReturnType()
Gets the return type. |
boolean |
isAbstract()
True if this is modified with "abstract". |
boolean |
isAnnotationElement()
True if this is an annotation element. |
boolean |
isBridge()
True if marked as a bridge method. |
boolean |
isNative()
True if this is modified with "native". |
boolean |
isStrictfp()
True if this is modified with "strictfp". |
boolean |
isSynchronized()
True if this is modified with "synchronized". |
| Methods inherited from interface javax.ide.model.java.declaration.ExecutableD |
getExceptionTypes, getParameters, getParameterTypes, isVarArgs |
| 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.Declaration |
getDeclarationKind, getPosition, isSynthetic |
| Methods inherited from interface javax.ide.model.java.declaration.GenericD |
getTypeParameters |
| Methods inherited from interface javax.ide.model.java.declaration.HasAnnotationsD |
getAnnotations |
| Methods inherited from interface javax.ide.model.java.declaration.HasNameD |
getName |
| Methods inherited from interface javax.ide.model.java.declaration.HasTypeD |
getType |
| Method Detail |
isAnnotationElement
public boolean isAnnotationElement()
- True if this is an annotation element.
isSynchronized
public boolean isSynchronized()
- True if this is modified with "synchronized".
isBridge
public boolean isBridge()
- True if marked as a bridge method.
isNative
public boolean isNative()
- True if this is modified with "native".
isAbstract
public boolean isAbstract()
- True if this is modified with "abstract".
isStrictfp
public boolean isStrictfp()
- True if this is modified with "strictfp".
getDefaultValue
public java.lang.Object getDefaultValue()
- Gets the default value, null if this is not an annotation
element.
getReturnType
public TypeD getReturnType()
- Gets the return type.
|
|||||||||
| Home >> All >> javax >> ide >> model >> java >> [ declaration overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC