public abstract class TargetInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
byte |
u1targetType |
| Modifier | Constructor and Description |
|---|---|
protected |
TargetInfo()
Creates an uninitialized TargetInfo.
|
protected |
TargetInfo(byte u1targetType)
Creates an initialized TargetInfo.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Clazz clazz,
Field field,
TypeAnnotation typeAnnotation,
TargetInfoVisitor targetInfoVisitor)
Accepts the given visitor, in the context of a type annotation on a field.
|
void |
accept(Clazz clazz,
Method method,
CodeAttribute codeAttribute,
TypeAnnotation typeAnnotation,
TargetInfoVisitor targetInfoVisitor)
Accepts the given visitor, in the context of a type annotation code.
|
void |
accept(Clazz clazz,
Method method,
TypeAnnotation typeAnnotation,
TargetInfoVisitor targetInfoVisitor)
Accepts the given visitor, in the context of a type annotation on a method.
|
void |
accept(Clazz clazz,
TypeAnnotation typeAnnotation,
TargetInfoVisitor targetInfoVisitor)
Accepts the given visitor, in the context of a type annotation on a class.
|
byte |
getTargetType()
Returns the type of the target.
|
protected TargetInfo()
protected TargetInfo(byte u1targetType)
public byte getTargetType()
public void accept(Clazz clazz, TypeAnnotation typeAnnotation, TargetInfoVisitor targetInfoVisitor)
public void accept(Clazz clazz, Field field, TypeAnnotation typeAnnotation, TargetInfoVisitor targetInfoVisitor)
public void accept(Clazz clazz, Method method, TypeAnnotation typeAnnotation, TargetInfoVisitor targetInfoVisitor)
public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, TypeAnnotation typeAnnotation, TargetInfoVisitor targetInfoVisitor)
Copyright © 2015. All Rights Reserved.