}
/**
- * Get the Major version
+ * Get the Major version.
*
* @return the major version
*/
- public int getMajorVersion()
- {
+ public int getMajorVersion() {
return major;
}
/**
- * Set the Major version
+ * Set the Major version.
*
- * @param major the major version
+ * @param major the major version
*/
- public void setMajorVersion(int major)
- {
+ public void setMajorVersion(int major) {
this.major = major;
}
/**
- * Get the Minor version
+ * Get the Minor version.
*
* @return the minor version
*/
- public int getMinorVersion()
- {
+ public int getMinorVersion() {
return minor;
}
/**
- * Set the Minor version
+ * Set the Minor version.
*
- * @param minor the minor version
+ * @param minor the minor version
*/
- public void setMinorVersion(int minor)
- {
+ public void setMinorVersion(int minor) {
this.minor = minor;
}
}
}
/**
- * Get all the class names
+ * Get all the class names.
*
* @return a set of class names
*/
HashSet result = new HashSet();
LongVector v = items;
int size = numOfItems;
- for (int i = 1; i < size; ++i)
- {
+ for (int i = 1; i < size; ++i) {
String className = ((ConstInfo) v.elementAt(i)).getClassName(this);
if (className != null)
result.add(className);
public int getTag() { return tag; }
- public String getClassName(ConstPool cp)
- {
+ public String getClassName(ConstPool cp) {
return cp.getUtf8Info(name);
};