org.codehaus.annogen.override
Interface ElementId


public interface ElementId

Generic identifier for some annotatable java element such as a class or method. This abstraction allows annogen to work with an arbitrary set of java type system APIs, e.g. reflection and javadoc. Note that various ElementIdPools are provided for creating and pooling Ids using various APIs.

Author:
Patrick Calahan <email: codehaus-at-bea-dot-com>

Field Summary
static int ANNOTATION_TYPE
           
static int CLASS_TYPE
           
static int CONSTRUCTOR_TYPE
           
static int FIELD_TYPE
           
static int METHOD_TYPE
           
static int NO_PARAMETER
           
static int PACKAGE_TYPE
           
static int PARAMETER_TYPE
           
 
Method Summary
 java.lang.String getContainingClass()
           
 java.lang.String getName()
           
 int getParameterNumber()
           
 java.lang.String[] getSignature()
           
 int getType()
           
 

Field Detail

PACKAGE_TYPE

static final int PACKAGE_TYPE
See Also:
Constant Field Values

CLASS_TYPE

static final int CLASS_TYPE
See Also:
Constant Field Values

FIELD_TYPE

static final int FIELD_TYPE
See Also:
Constant Field Values

METHOD_TYPE

static final int METHOD_TYPE
See Also:
Constant Field Values

CONSTRUCTOR_TYPE

static final int CONSTRUCTOR_TYPE
See Also:
Constant Field Values

PARAMETER_TYPE

static final int PARAMETER_TYPE
See Also:
Constant Field Values

ANNOTATION_TYPE

static final int ANNOTATION_TYPE
See Also:
Constant Field Values

NO_PARAMETER

static final int NO_PARAMETER
See Also:
Constant Field Values
Method Detail

getType

int getType()

getName

java.lang.String getName()

getContainingClass

java.lang.String getContainingClass()

getSignature

java.lang.String[] getSignature()

getParameterNumber

int getParameterNumber()