char[] nullAnnotatedShortReadableName(CompilerOptions options) { StringBuffer nameBuffer = new StringBuffer(10); if (isMemberType()) { nameBuffer.append(enclosingType().nullAnnotatedReadableName(options, true)); nameBuffer.append('.'); appendNullAnnotation(nameBuffer, options); nameBuffer.append(this.sourceName); } else { appendNullAnnotation(nameBuffer, options); if (this.type.sourceName != null) nameBuffer.append(this.type.sourceName); else // WildcardBinding, CaptureBinding have no sourceName nameBuffer.append(this.type.shortReadableName()); } if (this.arguments != null && this.arguments.length > 0) { // empty arguments array happens when PTB has been created just to capture type annotations nameBuffer.append('<'); for (int i = 0, length = this.arguments.length; i < length; i++) { if (i > 0) nameBuffer.append(','); nameBuffer.append(this.arguments[i].nullAnnotatedReadableName(options, true)); } nameBuffer.append('>'); } int nameLength = nameBuffer.length(); char[] shortReadableName = new char[nameLength]; nameBuffer.getChars(0, nameLength, shortReadableName, 0); return shortReadableName; }
char[] nullAnnotatedShortReadableName(CompilerOptions options) { StringBuffer nameBuffer = new StringBuffer(10); if (isMemberType()) { nameBuffer.append(enclosingType().nullAnnotatedReadableName(options, true)); nameBuffer.append('.'); appendNullAnnotation(nameBuffer, options); nameBuffer.append(this.sourceName); } else { appendNullAnnotation(nameBuffer, options); if (this.type.sourceName != null) nameBuffer.append(this.type.sourceName); else // WildcardBinding, CaptureBinding have no sourceName nameBuffer.append(this.type.shortReadableName()); } if (this.arguments != null && this.arguments.length > 0) { // empty arguments array happens when PTB has been created just to capture type annotations nameBuffer.append('<'); for (int i = 0, length = this.arguments.length; i < length; i++) { if (i > 0) nameBuffer.append(','); nameBuffer.append(this.arguments[i].nullAnnotatedReadableName(options, true)); } nameBuffer.append('>'); } int nameLength = nameBuffer.length(); char[] shortReadableName = new char[nameLength]; nameBuffer.getChars(0, nameLength, shortReadableName, 0); return shortReadableName; }
nameBuffer.append(enclosingType().nullAnnotatedReadableName(options, false)); nameBuffer.append('.'); appendNullAnnotation(nameBuffer, options); nameBuffer.append(this.sourceName); } else if (this.type.compoundName != null) { nameBuffer.append('.'); appendNullAnnotation(nameBuffer, options); nameBuffer.append(this.type.compoundName[i]); } else { appendNullAnnotation(nameBuffer, options); if (this.type.sourceName != null) nameBuffer.append(this.type.sourceName);
char[] nullAnnotatedShortReadableName(CompilerOptions options) { StringBuffer nameBuffer = new StringBuffer(10); if (isMemberType()) { nameBuffer.append(enclosingType().nullAnnotatedReadableName(options, true)); nameBuffer.append('.'); appendNullAnnotation(nameBuffer, options); nameBuffer.append(this.sourceName); } else { appendNullAnnotation(nameBuffer, options); if (this.type.sourceName != null) nameBuffer.append(this.type.sourceName); else // WildcardBinding, CaptureBinding have no sourceName nameBuffer.append(this.type.shortReadableName()); } if (this.arguments != null && this.arguments.length > 0) { // empty arguments array happens when PTB has been created just to capture type annotations nameBuffer.append('<'); for (int i = 0, length = this.arguments.length; i < length; i++) { if (i > 0) nameBuffer.append(','); nameBuffer.append(this.arguments[i].nullAnnotatedReadableName(options, true)); } nameBuffer.append('>'); } int nameLength = nameBuffer.length(); char[] shortReadableName = new char[nameLength]; nameBuffer.getChars(0, nameLength, shortReadableName, 0); return shortReadableName; }
nameBuffer.append(enclosingType().nullAnnotatedReadableName(options, false)); nameBuffer.append('.'); appendNullAnnotation(nameBuffer, options); nameBuffer.append(this.sourceName); } else if (this.type.compoundName != null) { nameBuffer.append('.'); appendNullAnnotation(nameBuffer, options); nameBuffer.append(this.type.compoundName[i]); } else { appendNullAnnotation(nameBuffer, options); if (this.type.sourceName != null) nameBuffer.append(this.type.sourceName);
char[] nullAnnotatedShortReadableName(CompilerOptions options) { StringBuffer nameBuffer = new StringBuffer(10); if (isMemberType()) { nameBuffer.append(enclosingType().nullAnnotatedReadableName(options, true)); nameBuffer.append('.'); appendNullAnnotation(nameBuffer, options); nameBuffer.append(this.sourceName); } else { appendNullAnnotation(nameBuffer, options); if (this.type.sourceName != null) nameBuffer.append(this.type.sourceName); else // WildcardBinding, CaptureBinding have no sourceName nameBuffer.append(this.type.shortReadableName()); } if (this.arguments != null && this.arguments.length > 0) { // empty arguments array happens when PTB has been created just to capture type annotations nameBuffer.append('<'); for (int i = 0, length = this.arguments.length; i < length; i++) { if (i > 0) nameBuffer.append(','); nameBuffer.append(this.arguments[i].nullAnnotatedReadableName(options, true)); } nameBuffer.append('>'); } int nameLength = nameBuffer.length(); char[] shortReadableName = new char[nameLength]; nameBuffer.getChars(0, nameLength, shortReadableName, 0); return shortReadableName; }
char[] nullAnnotatedShortReadableName(CompilerOptions options) { StringBuffer nameBuffer = new StringBuffer(10); if (isMemberType()) { nameBuffer.append(enclosingType().nullAnnotatedReadableName(options, true)); nameBuffer.append('.'); appendNullAnnotation(nameBuffer, options); nameBuffer.append(this.sourceName); } else { appendNullAnnotation(nameBuffer, options); if (this.type.sourceName != null) nameBuffer.append(this.type.sourceName); else // WildcardBinding, CaptureBinding have no sourceName nameBuffer.append(this.type.shortReadableName()); } if (this.arguments != null && this.arguments.length > 0) { // empty arguments array happens when PTB has been created just to capture type annotations nameBuffer.append('<'); for (int i = 0, length = this.arguments.length; i < length; i++) { if (i > 0) nameBuffer.append(','); nameBuffer.append(this.arguments[i].nullAnnotatedReadableName(options, true)); } nameBuffer.append('>'); } int nameLength = nameBuffer.length(); char[] shortReadableName = new char[nameLength]; nameBuffer.getChars(0, nameLength, shortReadableName, 0); return shortReadableName; }
nameBuffer.append(enclosingType().nullAnnotatedReadableName(options, false)); nameBuffer.append('.'); appendNullAnnotation(nameBuffer, options); nameBuffer.append(this.sourceName); } else if (this.type.compoundName != null) { nameBuffer.append('.'); appendNullAnnotation(nameBuffer, options); nameBuffer.append(this.type.compoundName[i]); } else { appendNullAnnotation(nameBuffer, options); if (this.type.sourceName != null) nameBuffer.append(this.type.sourceName);
char[] nullAnnotatedShortReadableName(CompilerOptions options) { StringBuffer nameBuffer = new StringBuffer(10); if (isMemberType()) { nameBuffer.append(enclosingType().nullAnnotatedReadableName(options, true)); nameBuffer.append('.'); appendNullAnnotation(nameBuffer, options); nameBuffer.append(this.sourceName); } else { appendNullAnnotation(nameBuffer, options); if (this.type.sourceName != null) nameBuffer.append(this.type.sourceName); else // WildcardBinding, CaptureBinding have no sourceName nameBuffer.append(this.type.shortReadableName()); } if (this.arguments != null && this.arguments.length > 0) { // empty arguments array happens when PTB has been created just to capture type annotations nameBuffer.append('<'); for (int i = 0, length = this.arguments.length; i < length; i++) { if (i > 0) nameBuffer.append(','); nameBuffer.append(this.arguments[i].nullAnnotatedReadableName(options, true)); } nameBuffer.append('>'); } int nameLength = nameBuffer.length(); char[] shortReadableName = new char[nameLength]; nameBuffer.getChars(0, nameLength, shortReadableName, 0); return shortReadableName; }
nameBuffer.append(enclosingType().nullAnnotatedReadableName(options, false)); nameBuffer.append('.'); appendNullAnnotation(nameBuffer, options); nameBuffer.append(this.sourceName); } else if (this.type.compoundName != null) { nameBuffer.append('.'); appendNullAnnotation(nameBuffer, options); nameBuffer.append(this.type.compoundName[i]); } else { appendNullAnnotation(nameBuffer, options); if (this.type.sourceName != null) nameBuffer.append(this.type.sourceName);
nameBuffer.append(enclosingType().nullAnnotatedReadableName(options, false)); nameBuffer.append('.'); appendNullAnnotation(nameBuffer, options); nameBuffer.append(this.sourceName); } else if (this.type.compoundName != null) { nameBuffer.append('.'); appendNullAnnotation(nameBuffer, options); nameBuffer.append(this.type.compoundName[i]); } else { appendNullAnnotation(nameBuffer, options); if (this.type.sourceName != null) nameBuffer.append(this.type.sourceName);
nameBuffer.append(enclosingType().nullAnnotatedReadableName(options, false)); nameBuffer.append('.'); appendNullAnnotation(nameBuffer, options); nameBuffer.append(this.sourceName); } else if (this.type.compoundName != null) { nameBuffer.append('.'); appendNullAnnotation(nameBuffer, options); nameBuffer.append(this.type.compoundName[i]); } else { appendNullAnnotation(nameBuffer, options); if (this.type.sourceName != null) nameBuffer.append(this.type.sourceName);
nameBuffer.append(enclosingType().nullAnnotatedReadableName(options, false)); nameBuffer.append('.'); appendNullAnnotation(nameBuffer, options); nameBuffer.append(this.sourceName); } else if (this.type.compoundName != null) { nameBuffer.append('.'); appendNullAnnotation(nameBuffer, options); nameBuffer.append(this.type.compoundName[i]); } else { appendNullAnnotation(nameBuffer, options); if (this.type.sourceName != null) nameBuffer.append(this.type.sourceName);
@Override char[] nullAnnotatedShortReadableName(CompilerOptions options) { StringBuffer nameBuffer = new StringBuffer(10); if (isMemberType()) { nameBuffer.append(enclosingType().nullAnnotatedReadableName(options, true)); nameBuffer.append('.'); appendNullAnnotation(nameBuffer, options); nameBuffer.append(this.sourceName); } else { appendNullAnnotation(nameBuffer, options); if (this.type.sourceName != null) nameBuffer.append(this.type.sourceName); else // WildcardBinding, CaptureBinding have no sourceName nameBuffer.append(this.type.shortReadableName()); } if (this.arguments != null && this.arguments.length > 0 && !isRawType()) { // empty arguments array happens when PTB has been created just to capture type annotations nameBuffer.append('<'); for (int i = 0, length = this.arguments.length; i < length; i++) { if (i > 0) nameBuffer.append(','); nameBuffer.append(this.arguments[i].nullAnnotatedReadableName(options, true)); } nameBuffer.append('>'); } int nameLength = nameBuffer.length(); char[] shortReadableName = new char[nameLength]; nameBuffer.getChars(0, nameLength, shortReadableName, 0); return shortReadableName; }
char[] nullAnnotatedShortReadableName(CompilerOptions options) { StringBuffer nameBuffer = new StringBuffer(10); if (isMemberType()) { nameBuffer.append(enclosingType().nullAnnotatedReadableName(options, true)); nameBuffer.append('.'); appendNullAnnotation(nameBuffer, options); nameBuffer.append(this.sourceName); } else { appendNullAnnotation(nameBuffer, options); if (this.type.sourceName != null) nameBuffer.append(this.type.sourceName); else // WildcardBinding, CaptureBinding have no sourceName nameBuffer.append(this.type.shortReadableName()); } if (this.arguments != null && this.arguments.length > 0 && !isRawType()) { // empty arguments array happens when PTB has been created just to capture type annotations nameBuffer.append('<'); for (int i = 0, length = this.arguments.length; i < length; i++) { if (i > 0) nameBuffer.append(','); nameBuffer.append(this.arguments[i].nullAnnotatedReadableName(options, true)); } nameBuffer.append('>'); } int nameLength = nameBuffer.length(); char[] shortReadableName = new char[nameLength]; nameBuffer.getChars(0, nameLength, shortReadableName, 0); return shortReadableName; }
nameBuffer.append(enclosingType().nullAnnotatedReadableName(options, false)); nameBuffer.append('.'); appendNullAnnotation(nameBuffer, options); nameBuffer.append(this.sourceName); } else if (this.type.compoundName != null) { nameBuffer.append('.'); appendNullAnnotation(nameBuffer, options); nameBuffer.append(this.type.compoundName[i]); } else { appendNullAnnotation(nameBuffer, options); if (this.type.sourceName != null) nameBuffer.append(this.type.sourceName);