Uses of Interface
org.tquadrat.foundation.javacomposer.MethodSpec
Packages that use MethodSpec
Package
Description
JavaComposer is a Java toolkit for the generation of Java source
code.
The implementations for the interfaces from the package
org.tquadrat.foundation.javacomposer.-
Uses of MethodSpec in org.tquadrat.foundation.javacomposer
Fields in org.tquadrat.foundation.javacomposer with type parameters of type MethodSpecModifier and TypeFieldDescriptionprivate final Lazy<MethodSpec> JavaComposer.m_Method_EqualsA predefinedequals()method.private final Lazy<MethodSpec> JavaComposer.m_Method_HashCodeA predefinedhashCode()method.private final Lazy<MethodSpec> JavaComposer.m_Method_ToStringA predefinedtoString()method.Methods in org.tquadrat.foundation.javacomposer that return MethodSpecModifier and TypeMethodDescriptionMethodSpec.Builder.build()Creates a newMethodSpecinstance from the components that have been added to this builder.final MethodSpecJavaComposer.createEqualsMethod(CodeBlock body) Returns aMethodSpecinstance for an implementation of the methodObject.equals(Object).final MethodSpecJavaComposer.createHashCodeMethod(Collection<? extends FieldSpec> fields) Returns aMethodSpecinstance for an implementation of the methodObject.hashCode().final MethodSpecJavaComposer.createHashCodeMethod(CodeBlock body) Returns aMethodSpecinstance for an implementation of the methodObject.hashCode().final MethodSpecJavaComposer.createHashCodeMethod(FieldSpec... fields) Returns aMethodSpecinstance for an implementation of the methodObject.hashCode().final MethodSpecJavaComposer.createMethod(ExecutableElement method) Creates aMethodSpecfor the givenExecutableElement.final MethodSpecJavaComposer.createToStringMethod(CodeBlock body) Returns aMethodSpecinstance for an implementation of the methodObject.toString().Methods in org.tquadrat.foundation.javacomposer with parameters of type MethodSpecModifier and TypeMethodDescriptionTypeSpec.Builder.addMethod(MethodSpec methodSpec) Adds a method for the type.Method parameters in org.tquadrat.foundation.javacomposer with type arguments of type MethodSpecModifier and TypeMethodDescriptionTypeSpec.Builder.addMethods(Iterable<MethodSpec> methodSpecs) Adds methods for the type. -
Uses of MethodSpec in org.tquadrat.foundation.javacomposer.internal
Classes in org.tquadrat.foundation.javacomposer.internal that implement MethodSpecMethods in org.tquadrat.foundation.javacomposer.internal with parameters of type MethodSpecModifier and TypeMethodDescriptionAnnotationTypeSpecImpl.BuilderImpl.addMethod(MethodSpec methodSpec) Adds a method for the type.ClassSpecImpl.BuilderImpl.addMethod(MethodSpec methodSpec) Adds a method for the type.final EnumSpecImpl.BuilderImplEnumSpecImpl.BuilderImpl.addMethod(MethodSpec methodSpec) Adds a method for the type.InterfaceSpecImpl.BuilderImpl.addMethod(MethodSpec methodSpec) Adds a method for the type.RecordSpecImpl.BuilderImpl.addMethod(MethodSpec methodSpec) Adds a method for the type.abstract TypeSpecImpl.BuilderImplTypeSpecImpl.BuilderImpl.addMethod(MethodSpec methodSpec) Adds a method for the type.protected static final intTypeSpecImpl.compareMethodSpecs(MethodSpec m1, MethodSpec m2) Compares two instances ofMethodSpecfor their sort order.Method parameters in org.tquadrat.foundation.javacomposer.internal with type arguments of type MethodSpecModifier and TypeMethodDescriptionfinal TypeSpecImpl.BuilderImplTypeSpecImpl.BuilderImpl.addMethods(Iterable<MethodSpec> methodSpecs) Adds methods for the type.
