RECODER 0.92

recoder.bytecode
Class AnnotationPropertyInfo

java.lang.Object
  extended by recoder.bytecode.ByteCodeElement
      extended by recoder.bytecode.MemberInfo
          extended by recoder.bytecode.MethodInfo
              extended by recoder.bytecode.AnnotationPropertyInfo
All Implemented Interfaces:
AnnotationProperty, ClassTypeContainer, Member, Method, ProgramModelElement, AccessFlags, ModelElement, NamedModelElement

public class AnnotationPropertyInfo
extends MethodInfo
implements AnnotationProperty

Author:
gutzmann

Nested Class Summary
 
Nested classes/interfaces inherited from interface recoder.abstraction.ProgramModelElement
ProgramModelElement.LexicalOrder
 
Nested classes/interfaces inherited from interface recoder.abstraction.ProgramModelElement
ProgramModelElement.LexicalOrder
 
Field Summary
 
Fields inherited from class recoder.bytecode.MethodInfo
exceptions, paramAnnotations, paramTypeArgs, paramtypes, returntype, typeParms
 
Fields inherited from class recoder.bytecode.MemberInfo
parent
 
Fields inherited from class recoder.bytecode.ByteCodeElement
accessFlags, service
 
Fields inherited from interface recoder.abstraction.ProgramModelElement
LEXICAL_ORDER
 
Fields inherited from interface recoder.bytecode.AccessFlags
ABSTRACT, ANNOTATION, BRIDGE, ENUM, FINAL, INTERFACE, NATIVE, PRIVATE, PROTECTED, PUBLIC, STATIC, STRICT, SUPER, SYNCHRONIZED, SYNTHETIC, TRANSIENT, VARARGS, VOLATILE
 
Fields inherited from interface recoder.abstraction.ProgramModelElement
LEXICAL_ORDER
 
Fields inherited from interface recoder.bytecode.AccessFlags
ABSTRACT, ANNOTATION, BRIDGE, ENUM, FINAL, INTERFACE, NATIVE, PRIVATE, PROTECTED, PUBLIC, STATIC, STRICT, SUPER, SYNCHRONIZED, SYNTHETIC, TRANSIENT, VARARGS, VOLATILE
 
Constructor Summary
AnnotationPropertyInfo(int accessFlags, java.lang.String returntype, java.lang.String name, ClassFile cf, java.lang.Object defaultValue)
           
 
Method Summary
 java.lang.Object getDefaultValue()
          Returns the default value for the annotation member represented by this Method instance.
 
Methods inherited from class recoder.bytecode.MethodInfo
getAnnotationsForParam, getBinaryName, getContainer, getExceptions, getExceptionsInfo, getFullName, getPackage, getParameterTypeNames, getReturnType, getSignature, getTypeArgumentsForParam, getTypeArgumentsForReturnType, getTypeName, getTypeParameters, getTypes, isVarArgMethod, toString
 
Methods inherited from class recoder.bytecode.MemberInfo
getAnnotations, getContainingClassType, getParent, setParent
 
Methods inherited from class recoder.bytecode.ByteCodeElement
getAccessFlags, getName, getProgramModelInfo, isAbstract, isFinal, isNative, isPrivate, isProtected, isPublic, isStatic, isStrictFp, isSynchronized, setAccessFlags, setProgramModelInfo, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface recoder.abstraction.Method
getExceptions, getReturnType, getSignature, getTypeParameters, isAbstract, isNative, isSynchronized, isVarArgMethod
 
Methods inherited from interface recoder.abstraction.Member
getAnnotations, getContainingClassType, isFinal, isPrivate, isProtected, isPublic, isStatic, isStrictFp
 
Methods inherited from interface recoder.abstraction.ProgramModelElement
getBinaryName, getFullName, getProgramModelInfo, setProgramModelInfo
 
Methods inherited from interface recoder.NamedModelElement
getName
 
Methods inherited from interface recoder.ModelElement
validate
 
Methods inherited from interface recoder.abstraction.ClassTypeContainer
getContainer, getPackage, getTypes
 
Methods inherited from interface recoder.abstraction.ProgramModelElement
getBinaryName, getFullName, getProgramModelInfo, setProgramModelInfo
 
Methods inherited from interface recoder.NamedModelElement
getName
 
Methods inherited from interface recoder.ModelElement
validate
 

Constructor Detail

AnnotationPropertyInfo

public AnnotationPropertyInfo(int accessFlags,
                              java.lang.String returntype,
                              java.lang.String name,
                              ClassFile cf,
                              java.lang.Object defaultValue)
Parameters:
accessFlags -
returntype -
name -
cf -
defaultValue -
Method Detail

getDefaultValue

public java.lang.Object getDefaultValue()
Description copied from interface: AnnotationProperty
Returns the default value for the annotation member represented by this Method instance. Returns null if no default is associated with the member, or if the method instance does not represent a declared member of an annotation type.

Specified by:
getDefaultValue in interface AnnotationProperty
Returns:
the default value for the annotation member represented by this Method instance.

RECODER 0.92