use of com.sun.tools.javac.code.TypeAnnotationPosition in project checker-framework by typetools.
the class TypeAnnotationUtils method classExtendsTAPosition.
public static TypeAnnotationPosition classExtendsTAPosition(final int implidx, final int pos) {
TypeAnnotationPosition tapos = new TypeAnnotationPosition();
tapos.type = TargetType.CLASS_EXTENDS;
tapos.type_index = implidx;
tapos.pos = pos;
return tapos;
}
use of com.sun.tools.javac.code.TypeAnnotationPosition in project checker-framework by typetools.
the class TypeAnnotationUtils method typeParameterTAPosition.
public static TypeAnnotationPosition typeParameterTAPosition(final int tpidx, final int pos) {
TypeAnnotationPosition tapos = new TypeAnnotationPosition();
tapos.type = TargetType.CLASS_TYPE_PARAMETER;
tapos.parameter_index = tpidx;
tapos.pos = pos;
return tapos;
}
use of com.sun.tools.javac.code.TypeAnnotationPosition in project checker-framework by typetools.
the class TypeAnnotationUtils method typeParameterBoundTAPosition.
public static TypeAnnotationPosition typeParameterBoundTAPosition(final int tpidx, final int bndidx, final int pos) {
TypeAnnotationPosition tapos = new TypeAnnotationPosition();
tapos.type = TargetType.CLASS_TYPE_PARAMETER_BOUND;
tapos.parameter_index = tpidx;
tapos.bound_index = bndidx;
tapos.pos = pos;
return tapos;
}
Aggregations