public class SystemGetPropertyHandler extends 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 ProcessingEnvironment |
env |
protected NullnessAnnotatedTypeFactory |
factory |
protected ExecutableElement |
systemGetProperty |
Constructor and Description |
---|
SystemGetPropertyHandler(ProcessingEnvironment env,
NullnessAnnotatedTypeFactory factory) |
Modifier and Type | Method and Description |
---|---|
void |
handle(MethodInvocationTree tree,
AnnotatedTypeMirror.AnnotatedExecutableType method) |
protected final ProcessingEnvironment env
protected final NullnessAnnotatedTypeFactory factory
protected final ExecutableElement systemGetProperty
public SystemGetPropertyHandler(ProcessingEnvironment env, NullnessAnnotatedTypeFactory factory)
public void handle(MethodInvocationTree tree, AnnotatedTypeMirror.AnnotatedExecutableType method)