1 package jrre.classloader.classfile.pool_entries;
2
3 public class CPNameType extends CPInfo {
4
5 private int nameIndex;
6 private int descriptorIndex;
7
8 /***
9 * Gets the DescriptorIndex.
10 */
11 public int getDescriptorIndex(){
12 return this.descriptorIndex;
13 }
14
15 /***
16 * Sets the DescriptorIndex.
17 * @param DescriptorIndex The value to set it to.
18 */
19 public void setDescriptorIndex(int descriptorIndex){
20 this.descriptorIndex = descriptorIndex;
21 }
22
23 /***
24 * Gets the NameIndex.
25 */
26 public int getNameIndex(){
27 return this.nameIndex;
28 }
29
30 /***
31 * Sets the NameIndex.
32 * @param NameIndex The value to set it to.
33 */
34 public void setNameIndex(int nameIndex){
35 this.nameIndex = nameIndex;
36 }
37
38 public CPNameType(int nameIndex, int descriptorIndex){
39 this.nameIndex = nameIndex;
40 this.descriptorIndex = descriptorIndex;
41 }
42
43 public String toString(){ return "CPNameType: nameIndex = "+nameIndex+" descriptorIndex = "+descriptorIndex; }
44 }
This page was automatically generated by Maven