public final class

BinaryMember

extends MemberDefinition
java.lang.Object
   ↳ sun.tools.java.MemberDefinition
     ↳ sun.tools.java.BinaryMember

Class Overview

This class represents a binary member WARNING: The contents of this source file are not part of any supported API. Code that depends on them does so at its own risk: they are subject to change or removal without notice.

Summary

[Expand]
Inherited Constants
From interface sun.tools.java.Constants
From interface sun.tools.java.RuntimeConstants
[Expand]
Inherited Fields
From class sun.tools.java.MemberDefinition
From interface sun.tools.java.Constants
From interface sun.tools.java.RuntimeConstants
Public Constructors
BinaryMember(ClassDefinition clazz, int modifiers, Type type, Identifier name, BinaryAttribute atts)
Constructor
BinaryMember(ClassDefinition innerClass)
Constructor for an inner class.
Public Methods
void addAttribute(Identifier name, byte[] data, Environment env)
boolean deleteAttribute(Identifier name)
Vector getArguments()
Get arguments
byte[] getAttribute(Identifier name)
Get a field attribute
String getDocumentation()
Get documentation
ClassDeclaration[] getExceptions(Environment env)
Get exceptions
Node getValue(Environment env)
Get the value
boolean isConstant()
Check if constant: Will it inline away to a constant?
boolean isInlineable(Environment env, boolean fromFinal)
Inline allowed (currently only allowed for the constructor of Object).
[Expand]
Inherited Methods
From class sun.tools.java.MemberDefinition
From class java.lang.Object

Public Constructors

public BinaryMember (ClassDefinition clazz, int modifiers, Type type, Identifier name, BinaryAttribute atts)

Constructor

public BinaryMember (ClassDefinition innerClass)

Constructor for an inner class.

Public Methods

public void addAttribute (Identifier name, byte[] data, Environment env)

public boolean deleteAttribute (Identifier name)

public Vector getArguments ()

Get arguments

public byte[] getAttribute (Identifier name)

Get a field attribute

public String getDocumentation ()

Get documentation

public ClassDeclaration[] getExceptions (Environment env)

Get exceptions

public Node getValue (Environment env)

Get the value

public boolean isConstant ()

Check if constant: Will it inline away to a constant?

public boolean isInlineable (Environment env, boolean fromFinal)

Inline allowed (currently only allowed for the constructor of Object).