View RSS Feed

My Java Tips

Package Explorer - Class Method

Rate this Entry
by , 11-21-2011 at 05:01 PM (803 Views)
In this post, I will write about Eclipse feature that shows the artifacts of a class method.


Eclipse package explorer is a very useful explorer that gives the developer a birds eye view of the package, class and methods. Review the class below:

Java Code:
public class Student {

	private int id;
	private String name;
	private static int counter;
	private static final int MAXCOUNT=10;

	public Student(int id, String name) throws Exception {
		
	}

	public int getId() {
		
	}
	public void setId(int id) {
		
	}
	public String getName() {
		
	}
	public void setName(String name) {
		
	}

	public void showAll()
	{
		

	}
}
The class involves methods, static attributes, static final attributes etc. All are shown in the package explorer as shown in the screen shot below:

Submit "Package Explorer - Class Method" to Facebook Submit "Package Explorer - Class Method" to Digg Submit "Package Explorer - Class Method" to del.icio.us Submit "Package Explorer - Class Method" to StumbleUpon Submit "Package Explorer - Class Method" to Google

Comments