public class SystemGetPropertyHandler
extends java.lang.Object
System.getProperty(String)
invocations.
If the argument is a literal key that is guaranteed to be present in the system properties may
(according to the documentation of System.getProperty(String)
), as in System.getProperties("line.separator")
, then the result of the method call is assumed to be
non-null.
Modifier and Type | Field and Description |
---|---|
protected javax.annotation.processing.ProcessingEnvironment |
env |
protected NullnessAnnotatedTypeFactory |
factory |
protected javax.lang.model.element.ExecutableElement |
systemGetProperty |
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)