Package com.google.turbine.lower
Class LowerSignature
- java.lang.Object
-
- com.google.turbine.lower.LowerSignature
-
-
Constructor Summary
Constructors Constructor Description LowerSignature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable java.lang.StringclassSignature(SourceTypeBoundClass info, Env<ClassSymbol,TypeBoundClass> env)Produces a class signature attribute for a generic class, ornullif the signature is unnecessary.java.lang.Stringdescriptor(ClassSymbol sym)@Nullable java.lang.StringfieldSignature(Type type)A field signature, ornullif the descriptor provides all necessary type information.@Nullable java.lang.StringmethodSignature(Env<ClassSymbol,TypeBoundClass> env, TypeBoundClass.MethodInfo method, ClassSymbol sym)Produces a method signature attribute for a generic method, ornullif the signature is unnecessary.Sig.TySigsignature(Type ty)Translates types to signatures.
-
-
-
Method Detail
-
methodSignature
public @Nullable java.lang.String methodSignature(Env<ClassSymbol,TypeBoundClass> env, TypeBoundClass.MethodInfo method, ClassSymbol sym)
Produces a method signature attribute for a generic method, ornullif the signature is unnecessary.
-
classSignature
public @Nullable java.lang.String classSignature(SourceTypeBoundClass info, Env<ClassSymbol,TypeBoundClass> env)
Produces a class signature attribute for a generic class, ornullif the signature is unnecessary.
-
fieldSignature
public @Nullable java.lang.String fieldSignature(Type type)
A field signature, ornullif the descriptor provides all necessary type information.
-
descriptor
public java.lang.String descriptor(ClassSymbol sym)
-
-