Class MethodIntrospector.NoMethodIntrospector
- java.lang.Object
-
- org.inferred.freebuilder.processor.model.MethodIntrospector
-
- org.inferred.freebuilder.processor.model.MethodIntrospector.NoMethodIntrospector
-
- Enclosing class:
- MethodIntrospector
private static class MethodIntrospector.NoMethodIntrospector extends MethodIntrospector
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.inferred.freebuilder.processor.model.MethodIntrospector
MethodIntrospector.OwnMethodInvocationVisitor
-
-
Constructor Summary
Constructors Modifier Constructor Description privateNoMethodIntrospector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<javax.lang.model.element.Name>getOwnMethodInvocations(javax.lang.model.element.ExecutableElement method)Returns 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(javax.lang.model.element.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
-
-
-
-
Method Detail
-
getOwnMethodInvocations
public java.util.Set<javax.lang.model.element.Name> getOwnMethodInvocations(javax.lang.model.element.ExecutableElement method)
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(javax.lang.model.element.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
-
-