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()
Copyright © 2015, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-Ubuntu+0-9b144-1ubuntu1