org.jboss.reflect.plugins.bytecode
Class BytecodeBehaviourInfo
java.lang.Object
org.jboss.util.JBossObject
org.jboss.reflect.plugins.AbstractAnnotatedInfo
org.jboss.reflect.plugins.bytecode.BytecodeAnnotatedInfo
org.jboss.reflect.plugins.bytecode.BytecodeBehaviourInfo
- All Implemented Interfaces:
- Serializable, Cloneable, AnnotatedInfo, org.jboss.util.JBossInterface
- Direct Known Subclasses:
- BytecodeConstructorInfo, BytecodeMethodInfo
public abstract class BytecodeBehaviourInfo
- extends BytecodeAnnotatedInfo
- Version:
- $Revision: 105060 $
- Author:
- Kabir Khan
- See Also:
- Serialized Form
Fields inherited from class org.jboss.util.JBossObject |
hashCode, log, toString |
Methods inherited from class org.jboss.util.JBossObject |
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toShortString, toString, toString, toStringImplementation |
Methods inherited from interface org.jboss.util.JBossInterface |
clone, toShortString, toShortString |
parameters
protected transient volatile ParameterInfo[] parameters
- The parameters
parameterTypes
protected transient volatile TypeInfo[] parameterTypes
- The parameter types
exceptionTypes
protected transient volatile ClassInfo[] exceptionTypes
- The exception types
typeInfo
protected final BytecodeTypeInfo typeInfo
- The type info
behaviour
protected final BehaviourBytes behaviour
- The constructor or method
BytecodeBehaviourInfo
public BytecodeBehaviourInfo(AnnotationHelper annotationHelper,
BytecodeTypeInfo typeInfo,
BehaviourBytes behaviour)
getModifiers
public int getModifiers()
isPublic
public boolean isPublic()
isStatic
public boolean isStatic()
isVolatile
public boolean isVolatile()
getDeclaringClass
public BytecodeTypeInfo getDeclaringClass()
getExceptionTypes
public ClassInfo[] getExceptionTypes()
generateParameters
protected void generateParameters()
getParameters
public ParameterInfo[] getParameters()
getParameterTypes
public TypeInfo[] getParameterTypes()
getAnnotations
public AnnotationValue[] getAnnotations()
- Description copied from interface:
AnnotatedInfo
- Get the annotations
- Returns:
- the annotations. If there are no annotations a zero length array is returned
getName
public abstract String getName()
setupParameterAnnotations
protected void setupParameterAnnotations(Object[][] annotations)
createParameterAnnotations
protected void createParameterAnnotations()
getMethodSignature
protected javassist.bytecode.SignatureAttribute.MethodSignature getMethodSignature()
getSignatureKey
public SignatureKey getSignatureKey()
getDescriptor
public String getDescriptor()
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.