String oName = new String(out[idx].type.getLastToken()); boolean found = false; for (IAnnotation i : in) {
private boolean hasDeprecatedAnnotation(Annotation[] annotations) { if (annotations != null) { for (int i = 0, length = annotations.length; i < length; i++) { Annotation annotation = annotations[i]; if (CharOperation.equals(annotation.type.getLastToken(), TypeConstants.JAVA_LANG_DEPRECATED[2])) { return true; } } } return false; } /*
private boolean hasDeprecatedAnnotation(Annotation[] annotations) { if (annotations != null) { for (int i = 0, length = annotations.length; i < length; i++) { Annotation annotation = annotations[i]; if (CharOperation.equals(annotation.type.getLastToken(), TypeConstants.JAVA_LANG_DEPRECATED[2])) { return true; } } } return false; } /*
private boolean hasDeprecatedAnnotation(Annotation[] annotations) { if (annotations != null) { for (int i = 0, length = annotations.length; i < length; i++) { Annotation annotation = annotations[i]; if (CharOperation.equals(annotation.type.getLastToken(), TypeConstants.JAVA_LANG_DEPRECATED[2])) { return true; } } } return false; } /*
private boolean hasDeprecatedAnnotation(Annotation[] annotations) { if (annotations != null) { for (int i = 0, length = annotations.length; i < length; i++) { Annotation annotation = annotations[i]; if (CharOperation.equals(annotation.type.getLastToken(), TypeConstants.JAVA_LANG_DEPRECATED[2])) { return true; } } } return false; } /*
private boolean hasDeprecatedAnnotation(Annotation[] annotations) { if (annotations != null) { for (int i = 0, length = annotations.length; i < length; i++) { Annotation annotation = annotations[i]; if (CharOperation.equals(annotation.type.getLastToken(), TypeConstants.JAVA_LANG_DEPRECATED[2])) { return true; } } } return false; } /*
static boolean hasDeprecatedAnnotation(Annotation[] annotations) { if (annotations == null) { return false; } for (int i = 0, length = annotations.length; i < length; i++) { Annotation annotation = annotations[i]; if (CharOperation.equals(annotation.type.getLastToken(), TypeConstants.JAVA_LANG_DEPRECATED[2])) { return true; } } return false; }
private boolean hasDeprecatedAnnotation(Annotation[] annotations) { if (annotations != null) { for (int i = 0, length = annotations.length; i < length; i++) { Annotation annotation = annotations[i]; if (CharOperation.equals(annotation.type.getLastToken(), TypeConstants.JAVA_LANG_DEPRECATED[2])) { return true; } } } return false; } /*
private boolean hasDeprecatedAnnotation(Annotation[] annotations) { if (annotations != null) { for (int i = 0, length = annotations.length; i < length; i++) { Annotation annotation = annotations[i]; if (CharOperation.equals(annotation.type.getLastToken(), TypeConstants.JAVA_LANG_DEPRECATED[2])) { return true; } } } return false; } /*
public void illegalAnnotationForBaseType(TypeReference type, Annotation[] annotations, char[] annotationName, long nullAnnotationTagBit) { int typeId = (nullAnnotationTagBit == TagBits.AnnotationNullable) ? TypeIds.T_ConfiguredAnnotationNullable : TypeIds.T_ConfiguredAnnotationNonNull; String[] args = new String[] { new String(annotationName), new String(type.getLastToken()) }; Annotation annotation = findAnnotation(annotations, typeId); int start = annotation != null ? annotation.sourceStart : type.sourceStart; this.handle(IProblem.IllegalAnnotationForBaseType, args, args, start, type.sourceEnd); }
public void illegalAnnotationForBaseType(TypeReference type, Annotation[] annotations, long nullAnnotationTagBit) { int typeId = (nullAnnotationTagBit == TagBits.AnnotationNullable) ? TypeIds.T_ConfiguredAnnotationNullable : TypeIds.T_ConfiguredAnnotationNonNull; char[][] annotationNames = (nullAnnotationTagBit == TagBits.AnnotationNonNull) ? this.options.nonNullAnnotationName : this.options.nullableAnnotationName; String[] args = new String[] { new String(annotationNames[annotationNames.length-1]), new String(type.getLastToken()) }; Annotation annotation = findAnnotation(annotations, typeId); int start = annotation != null ? annotation.sourceStart : type.sourceStart; int end = annotation != null ? annotation.sourceEnd : type.sourceEnd; this.handle(IProblem.IllegalAnnotationForBaseType, args, args, start, end); }
public void illegalAnnotationForBaseType(TypeReference type, Annotation[] annotations, long nullAnnotationTagBit) { int typeBit = (nullAnnotationTagBit == TagBits.AnnotationNullable) ? TypeIds.BitNullableAnnotation : TypeIds.BitNonNullAnnotation; char[][] annotationNames = (nullAnnotationTagBit == TagBits.AnnotationNonNull) ? this.options.nonNullAnnotationName : this.options.nullableAnnotationName; String[] args = new String[] { new String(annotationNames[annotationNames.length-1]), new String(type.getLastToken()) }; Annotation annotation = findAnnotation(annotations, typeBit); int start = annotation != null ? annotation.sourceStart : type.sourceStart; int end = annotation != null ? annotation.sourceEnd : type.sourceEnd; this.handle(IProblem.IllegalAnnotationForBaseType, args, args, start, end); }
public void illegalAnnotationForBaseType(TypeReference type, Annotation[] annotations, long nullAnnotationTagBit) { int typeBit = (nullAnnotationTagBit == TagBits.AnnotationNullable) ? TypeIds.BitNullableAnnotation : TypeIds.BitNonNullAnnotation; char[][] annotationNames = (nullAnnotationTagBit == TagBits.AnnotationNonNull) ? this.options.nonNullAnnotationName : this.options.nullableAnnotationName; String[] args = new String[] { new String(annotationNames[annotationNames.length-1]), new String(type.getLastToken()) }; Annotation annotation = findAnnotation(annotations, typeBit); int start = annotation != null ? annotation.sourceStart : type.sourceStart; int end = annotation != null ? annotation.sourceEnd : type.sourceEnd; this.handle(IProblem.IllegalAnnotationForBaseType, args, args, start, end); }
public void illegalAnnotationForBaseType(TypeReference type, Annotation[] annotations, long nullAnnotationTagBit) { int typeId = (nullAnnotationTagBit == TagBits.AnnotationNullable) ? TypeIds.T_ConfiguredAnnotationNullable : TypeIds.T_ConfiguredAnnotationNonNull; char[][] annotationNames = (nullAnnotationTagBit == TagBits.AnnotationNonNull) ? this.options.nonNullAnnotationName : this.options.nullableAnnotationName; String[] args = new String[] { new String(annotationNames[annotationNames.length-1]), new String(type.getLastToken()) }; Annotation annotation = findAnnotation(annotations, typeId); int start = annotation != null ? annotation.sourceStart : type.sourceStart; int end = annotation != null ? annotation.sourceEnd : type.sourceEnd; this.handle(IProblem.IllegalAnnotationForBaseType, args, args, start, end); }
public void illegalAnnotationForBaseType(TypeReference type, Annotation[] annotations, long nullAnnotationTagBit) { int typeBit = (nullAnnotationTagBit == TagBits.AnnotationNullable) ? TypeIds.BitNullableAnnotation : TypeIds.BitNonNullAnnotation; char[][] annotationNames = (nullAnnotationTagBit == TagBits.AnnotationNonNull) ? this.options.nonNullAnnotationName : this.options.nullableAnnotationName; String[] args = new String[] { new String(annotationNames[annotationNames.length-1]), new String(type.getLastToken()) }; Annotation annotation = findAnnotation(annotations, typeBit); int start = annotation != null ? annotation.sourceStart : type.sourceStart; int end = annotation != null ? annotation.sourceEnd : type.sourceEnd; this.handle(IProblem.IllegalAnnotationForBaseType, args, args, start, end); }
public void illegalAnnotationForBaseType(TypeReference type, Annotation[] annotations, long nullAnnotationTagBit) { int typeBit = (nullAnnotationTagBit == TagBits.AnnotationNullable) ? TypeIds.BitNullableAnnotation : TypeIds.BitNonNullAnnotation; char[][] annotationNames = (nullAnnotationTagBit == TagBits.AnnotationNonNull) ? this.options.nonNullAnnotationName : this.options.nullableAnnotationName; String[] args = new String[] { new String(annotationNames[annotationNames.length-1]), new String(type.getLastToken()) }; Annotation annotation = findAnnotation(annotations, typeBit); int start = annotation != null ? annotation.sourceStart : type.sourceStart; int end = annotation != null ? annotation.sourceEnd : type.sourceEnd; this.handle(IProblem.IllegalAnnotationForBaseType, args, args, start, end); }
public void illegalAnnotationForBaseType(TypeReference type, Annotation[] annotations, long nullAnnotationTagBit) { int typeId = (nullAnnotationTagBit == TagBits.AnnotationNullable) ? TypeIds.T_ConfiguredAnnotationNullable : TypeIds.T_ConfiguredAnnotationNonNull; char[][] annotationNames = (nullAnnotationTagBit == TagBits.AnnotationNonNull) ? this.options.nonNullAnnotationName : this.options.nullableAnnotationName; String[] args = new String[] { new String(annotationNames[annotationNames.length-1]), new String(type.getLastToken()) }; Annotation annotation = findAnnotation(annotations, typeId); int start = annotation != null ? annotation.sourceStart : type.sourceStart; int end = annotation != null ? annotation.sourceEnd : type.sourceEnd; this.handle(IProblem.IllegalAnnotationForBaseType, args, args, start, end); }
left = new QualifiedNameReference(qtr.tokens, qtr.sourcePositions, 0, 0); } else { left = new SingleNameReference(localDeclaration.type.getLastToken(), 0L);
left = new QualifiedNameReference(qtr.tokens, qtr.sourcePositions, 0, 0); } else { left = new SingleNameReference(localDeclaration.type.getLastToken(), 0L);
left = new QualifiedNameReference(qtr.tokens, qtr.sourcePositions, 0, 0); } else { left = new SingleNameReference(localDeclaration.type.getLastToken(), 0L);