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

Indicates that an annotation is present on the type parameter of a class. The index of the type parameter.

Indicates that an annotation is present on the type parameter of a method. The index of the type parameter.

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.

Indicates that an annotation is present on a bound of a type parameter of a class.

Fields of TypeParameterBoundClass

The index of the type parameter.

The index of the bound.

Indicates that an annotation is present on a bound of a type parameter of a method.

Fields of TypeParameterBoundMethod

The index of the type parameter.

The index of the bound.

Indicates that an annotation is present on the type of a field declaration.

Indicates that an annotation is present on the return type of a method or the type of a newly constructed object.

Indicates that an annotation is present on the receiver type of a method.

Indicates that an annotation is present on the type in a formal parameter declaration. The index of the formal parameter.

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.

Indicates that an annotation is present on the type in a local variable declaration.

Indicates that an annotation is present on the type in a local variable declaration.

Indicates that an annotation is present on the type in an exception parameter declaration.

Indicates that an annotation is present on the type in an instanceof expression.

Indicates that an annotation is present on the type in a new expression.

Indicates that an annotation is present on the type before the ::new of a method reference expression.

Indicates that an annotation is present on the type before the ::name of a method reference expression.

Indicates that an annotation is present on the type of a cast expression.

Fields of TypeArgumentCast

Indicates that an annotation is present on the type of a method call expression.

Fields of TypeArgumentMethod

Indicates that an annotation is present on the type of a new expression.

Fields of TypeArgumentConstructor

Indicates that an annotation is present on the type of a ::new expression.

Fields of TypeArgumentNewRef

Indicates that an annotation is present on the type of a ::name expression.

Fields of TypeArgumentRef

Trait Implementations

impl Debug for TargetType
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for TargetType

impl Sync for TargetType