public class SystemGetPropertyHandler
extends java.lang.Object
System.getProperty(String)
invocations.
The result of the method call is is assumed to be non-null if the argument is a literal key
that is guaranteed to be present in the system properties (according to the documentation of
System.getProperty(String)
), as in System.getProperties("line.separator")
.
Modifier and Type | Field and Description |
---|---|
protected javax.annotation.processing.ProcessingEnvironment |
env
The processing environment.
|
protected NullnessAnnotatedTypeFactory |
factory
The factory for constructing and looking up types.
|
protected javax.lang.model.element.ExecutableElement |
systemGetProperty
The System.getProperty(String) method.
|
Constructor and Description |
---|
SystemGetPropertyHandler(javax.annotation.processing.ProcessingEnvironment env,
NullnessAnnotatedTypeFactory factory) |
Modifier and Type | Method and Description |
---|---|
void |
handle(com.sun.source.tree.MethodInvocationTree tree,
AnnotatedTypeMirror.AnnotatedExecutableType method) |
protected final javax.annotation.processing.ProcessingEnvironment env
protected final NullnessAnnotatedTypeFactory factory
protected final javax.lang.model.element.ExecutableElement systemGetProperty
public SystemGetPropertyHandler(javax.annotation.processing.ProcessingEnvironment env, NullnessAnnotatedTypeFactory factory)
public void handle(com.sun.source.tree.MethodInvocationTree tree, AnnotatedTypeMirror.AnnotatedExecutableType method)