Enum jbcrs::basic::TargetType
[−]
[src]
pub enum TargetType { TypeParameterClass(u8), TypeParameterMethod(u8), SuperType(u16), TypeParameterBoundClass { type_parameter: u8, bound_index: u8, }, TypeParameterBoundMethod { type_parameter: u8, bound_index: u8, }, EmptyField, EmptyReturn, EmptyReceiver, FormalParameter(u8), Throws(u16), LocalVariable(Vec<LocalVariableTarget>), ResourceVariable(Vec<LocalVariableTarget>), Catch(u16), OffsetInstanceOf(u16), OffsetNew(u16), OffsetNewRef(u16), OffsetRef(u16), TypeArgumentCast { offset: u16, type_argument: u8, }, TypeArgumentMethod { offset: u16, type_argument: u8, }, TypeArgumentConstructor { offset: u16, type_argument: u8, }, TypeArgumentNewRef { offset: u16, type_argument: u8, }, TypeArgumentRef { offset: u16, type_argument: u8, }, }
Variants
TypeParameterClass(u8)
Indicates that an annotation is present on the type parameter of a class. The index of the type parameter.
TypeParameterMethod(u8)
Indicates that an annotation is present on the type parameter of a method. The index of the type parameter.
SuperType(u16)
Indicates that an annotation is present on the implements or extends clause of a class. The index of the super type, 0xFFFF is the extends clause.
TypeParameterBoundClass
Indicates that an annotation is present on a bound of a type parameter of a class.
Fields of TypeParameterBoundClass
type_parameter: u8 | The index of the type parameter. |
bound_index: u8 | The index of the bound. |
TypeParameterBoundMethod
Indicates that an annotation is present on a bound of a type parameter of a method.
Fields of TypeParameterBoundMethod
type_parameter: u8 | The index of the type parameter. |
bound_index: u8 | The index of the bound. |
EmptyField
Indicates that an annotation is present on the type of a field declaration.
EmptyReturn
Indicates that an annotation is present on the return type of a method or the type of a newly constructed object.
EmptyReceiver
Indicates that an annotation is present on the receiver type of a method.
FormalParameter(u8)
Indicates that an annotation is present on the type in a formal parameter declaration. The index of the formal parameter.
Throws(u16)
Indicates that an annotation is present
on the type in a throws clause.
The index into the table of the Exceptions
attribute of the method.
LocalVariable(Vec<LocalVariableTarget>)
Indicates that an annotation is present on the type in a local variable declaration.
ResourceVariable(Vec<LocalVariableTarget>)
Indicates that an annotation is present on the type in a local variable declaration.
Catch(u16)
Indicates that an annotation is present on the type in an exception parameter declaration.
OffsetInstanceOf(u16)
Indicates that an annotation is present on the type in an instanceof expression.
OffsetNew(u16)
Indicates that an annotation is present on the type in a new expression.
OffsetNewRef(u16)
Indicates that an annotation is present on the type before the ::new of a method reference expression.
OffsetRef(u16)
Indicates that an annotation is present on the type before the ::name of a method reference expression.
TypeArgumentCast
Indicates that an annotation is present on the type of a cast expression.
Fields of TypeArgumentCast
offset: u16 | |
type_argument: u8 |
TypeArgumentMethod
Indicates that an annotation is present on the type of a method call expression.
Fields of TypeArgumentMethod
offset: u16 | |
type_argument: u8 |
TypeArgumentConstructor
Indicates that an annotation is present on the type of a new expression.
Fields of TypeArgumentConstructor
offset: u16 | |
type_argument: u8 |
TypeArgumentNewRef
Indicates that an annotation is present on the type of a ::new expression.
Fields of TypeArgumentNewRef
offset: u16 | |
type_argument: u8 |
TypeArgumentRef
Indicates that an annotation is present on the type of a ::name expression.
Fields of TypeArgumentRef
offset: u16 | |
type_argument: u8 |