public class ExpressionSnippet extends Snippet
Snippet.Kind.EXPRESSION
.
ExpressionSnippet
is immutable: an access to
any of its methods will always return the same result.
and thus is thread-safe.
Snippet.Kind, Snippet.Status, Snippet.SubKind
Modifier and Type | Method | Description |
---|---|---|
String |
name() |
Variable name which is the value of the expression.
|
String |
typeName() |
Type of the expression
|
public String name()
VarSnippet
.public String typeName()
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2015, 2016, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b147-1