Class MethodIntrospector.NoMethodIntrospector
java.lang.Object
org.inferred.freebuilder.processor.model.MethodIntrospector
org.inferred.freebuilder.processor.model.MethodIntrospector.NoMethodIntrospector
- Enclosing class:
MethodIntrospector
-
Nested Class Summary
Nested classes/interfaces inherited from class org.inferred.freebuilder.processor.model.MethodIntrospector
MethodIntrospector.OwnMethodInvocationVisitor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a set of methods which are definitely invoked onthisin the given method, or the empty set if method introspection is not supported on this compiler.voidvisitAllOwnMethodInvocations(ExecutableElement method, MethodIntrospector.OwnMethodInvocationVisitor visitor) Callsvisitorwith every method invoked onthisin the given method, if method introspection is supported on this compiler.Methods inherited from class org.inferred.freebuilder.processor.model.MethodIntrospector
instance
-
Constructor Details
-
NoMethodIntrospector
private NoMethodIntrospector()
-
-
Method Details
-
getOwnMethodInvocations
Description copied from class:MethodIntrospectorReturns a set of methods which are definitely invoked onthisin the given method, or the empty set if method introspection is not supported on this compiler.- Specified by:
getOwnMethodInvocationsin classMethodIntrospector
-
visitAllOwnMethodInvocations
public void visitAllOwnMethodInvocations(ExecutableElement method, MethodIntrospector.OwnMethodInvocationVisitor visitor) Description copied from class:MethodIntrospectorCallsvisitorwith every method invoked onthisin the given method, if method introspection is supported on this compiler.The visitor is given the method name, and a logger to log warnings or errors to the user at the method invocation site.
- Specified by:
visitAllOwnMethodInvocationsin classMethodIntrospector
-