public class CompoundType.Member extends Object implements ContextElement, Cloneable
| Constructor and Description |
|---|
Member(MemberDefinition member,
String value,
ContextStack stack,
CompoundType enclosing)
Create a new Member object.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
clone()
Cloning is supported by returning a shallow copy of this object.
|
void |
destroy()
Release all resources.
|
String |
getElementName()
Return context element name.
|
String |
getIDLName()
IDL_Naming
Return the IDL name of this member.
|
protected MemberDefinition |
getMemberDefinition() |
String |
getName()
Return the name of this member.
|
Type |
getType()
Return the type of this member.
|
String |
getValue()
Return the value of this member.
|
String |
getVisibility()
Return the visibility (e.g.
|
void |
init(ContextStack stack,
CompoundType enclosing) |
boolean |
isConstant()
Return true if this member represents a constant.
|
boolean |
isFinal() |
boolean |
isInnerClassDeclaration()
Return true if this member represents an inner class declaration,
false otherwise.
|
boolean |
isPrivate() |
boolean |
isPublic()
Methods to check various attributes.
|
boolean |
isStatic() |
boolean |
isTransient() |
void |
setIDLName(String name) |
protected void |
setTransient() |
protected void |
swapInvalidTypes()
Convert all invalid types to valid ones.
|
String |
toString()
Return the string representation of this constant.
|
public Member(MemberDefinition member, String value, ContextStack stack, CompoundType enclosing)
public String getElementName()
getElementName in interface ContextElementpublic Type getType()
public String getName()
public String getIDLName()
public String getVisibility()
public boolean isPublic()
public boolean isPrivate()
public boolean isStatic()
public boolean isFinal()
public boolean isTransient()
public String getValue()
public boolean isInnerClassDeclaration()
public boolean isConstant()
public String toString()
protected void swapInvalidTypes()
protected void setTransient()
protected MemberDefinition getMemberDefinition()
public void destroy()
public void init(ContextStack stack, CompoundType enclosing)
public void setIDLName(String name)
Copyright © 2020. All Rights Reserved.