Sha256: 3f2b4566a2126b9eef9badbba743ce010206699d4c448bc2dc953dd686266bcf
Contents?: true
Size: 859 Bytes
Versions: 12
Compression:
Stored size: 859 Bytes
Contents
package org.cx4a.rsense.typing.annotation; import java.util.List; public class TypeApplication implements TypeExpression { private TypeIdentity ident; private List<TypeExpression> types; public TypeApplication(TypeIdentity ident, List<TypeExpression> types) { this.ident = ident; this.types = types; } public TypeIdentity getIdentity() { return ident; } public List<TypeExpression> getTypes() { return types; } public Type getType() { return Type.APPLICATION; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(ident.toString()); sb.append('<'); for (TypeExpression type : types) { sb.append(type.toString()); } sb.append('>'); return sb.toString(); } }
Version data entries
12 entries across 12 versions & 1 rubygems