com.caucho.bytecode
Class JAccessibleObject

java.lang.Object
  extended by com.caucho.bytecode.JAnnotationObject
      extended by com.caucho.bytecode.JAccessibleObject
Direct Known Subclasses:
JField, JMethod

public abstract class JAccessibleObject
extends JAnnotationObject

Represents an introspected java method.


Constructor Summary
JAccessibleObject()
           
 
Method Summary
 boolean equals(java.lang.Object o)
          Returns true if equals.
abstract  JClass getDeclaringClass()
          Returns the declaring class
 int getLine()
          Returns the source line number, if available.
abstract  java.lang.String getName()
          Returns the method name.
abstract  JClass getReturnType()
          Returns the return type.
 
Methods inherited from class com.caucho.bytecode.JAnnotationObject
getAnnotation, getAnnotation, getDeclaredAnnotations, isAnnotationPresent, isAnnotationPresent
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAccessibleObject

public JAccessibleObject()
Method Detail

getName

public abstract java.lang.String getName()
Returns the method name.


getReturnType

public abstract JClass getReturnType()
Returns the return type.


getDeclaringClass

public abstract JClass getDeclaringClass()
Returns the declaring class


getLine

public int getLine()
Returns the source line number, if available.


equals

public boolean equals(java.lang.Object o)
Returns true if equals.

Overrides:
equals in class java.lang.Object