JBoss Reflection 2.2.1.SP1

org.jboss.reflect.plugins.bytecode
Class BytecodeBehaviourInfo

java.lang.Object
  extended by org.jboss.util.JBossObject
      extended by org.jboss.reflect.plugins.AbstractAnnotatedInfo
          extended by org.jboss.reflect.plugins.bytecode.BytecodeAnnotatedInfo
              extended by 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

Field Summary
protected  BehaviourBytes behaviour
          The constructor or method
protected  ClassInfo[] exceptionTypes
          The exception types
protected  ParameterInfo[] parameters
          The parameters
protected  TypeInfo[] parameterTypes
          The parameter types
protected  BytecodeTypeInfo typeInfo
          The type info
 
Fields inherited from class org.jboss.reflect.plugins.bytecode.BytecodeAnnotatedInfo
annotationHelper, annotationMap, annotationsArray
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
BytecodeBehaviourInfo(AnnotationHelper annotationHelper, BytecodeTypeInfo typeInfo, BehaviourBytes behaviour)
           
 
Method Summary
protected  void createParameterAnnotations()
           
protected  void generateParameters()
           
 AnnotationValue[] getAnnotations()
          Get the annotations
 BytecodeTypeInfo getDeclaringClass()
           
 String getDescriptor()
           
 ClassInfo[] getExceptionTypes()
           
protected  javassist.bytecode.SignatureAttribute.MethodSignature getMethodSignature()
           
 int getModifiers()
           
abstract  String getName()
           
 ParameterInfo[] getParameters()
           
 TypeInfo[] getParameterTypes()
           
 SignatureKey getSignatureKey()
           
 boolean isPublic()
           
 boolean isStatic()
           
 boolean isVolatile()
           
protected  void setupParameterAnnotations(Object[][] annotations)
           
 
Methods inherited from class org.jboss.reflect.plugins.bytecode.BytecodeAnnotatedInfo
getAnnotation, getAnnotations, isAnnotationPresent, setupAnnotations
 
Methods inherited from class org.jboss.reflect.plugins.AbstractAnnotatedInfo
getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent
 
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 class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.util.JBossInterface
clone, toShortString, toShortString
 

Field Detail

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

Constructor Detail

BytecodeBehaviourInfo

public BytecodeBehaviourInfo(AnnotationHelper annotationHelper,
                             BytecodeTypeInfo typeInfo,
                             BehaviourBytes behaviour)
Method Detail

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()

JBoss Reflection 2.2.1.SP1

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.