public static TypeVariableSignature make(final String name) { return new TypeVariableSignature(name); }
private TypeVariableSignature parseTypeVariableSignature() { assert (current == 'T'); if (current != 'T') { throw error("expected a type variable usage"); } advance(); final TypeVariableSignature ts = TypeVariableSignature.make(parseIdentifier()); if (current != ';') { throw error("; expected in signature of type variable named" + ts.getName()); } advance(); return ts; }
public void visitTypeVariableSignature(final TypeVariableSignature tv) { resultType = getFactory().findTypeVariable(tv.getName()); // if (resultType == null) { // resultType = BuiltinTypes.Object; // } }
private TypeVariableSignature parseTypeVariableSignature() { assert (current == 'T'); if (current != 'T') { throw error("expected a type variable usage"); } advance(); final TypeVariableSignature ts = TypeVariableSignature.make(parseIdentifier()); if (current != ';') { throw error("; expected in signature of type variable named" + ts.getName()); } advance(); return ts; }
public void visitTypeVariableSignature(final TypeVariableSignature tv) { resultType = getFactory().findTypeVariable(tv.getName()); }
private TypeVariableSignature parseTypeVariableSignature() { assert (current() == 'T'); if (current() != 'T') { throw error("expected a type variable usage"); } advance(); final TypeVariableSignature ts = TypeVariableSignature.make(parseIdentifier()); if (current() != ';') { throw error( "; expected in signature of type variable named" + ts.getName() ); } advance(); return ts; }
public void visitTypeVariableSignature(final TypeVariableSignature tv) { resultType = getFactory().findTypeVariable(tv.getName()); }
public static TypeVariableSignature make(final String name) { return new TypeVariableSignature(name); }
public static TypeVariableSignature make(final String name) { return new TypeVariableSignature(name); }