UCDetectorUCDetector

Custom

Write your own detector: Get Code

- Import all UCDetector projects using this eclipse project set.

Or:

- Check out

projects org.ucdetector and org.ucdetector.additional from SVN:
svn co http://svn.code.sf.net/p/ucdetector/code/trunk/org.ucdetector org.ucdetector
svn co http://svn.code.sf.net/p/ucdetector/code/trunk/org.ucdetector.additional org.ucdetector.additional

Create custom marker

Create your own problem markers! I already provided example code for

This code is easy to extend. Look at this example:

  protected void handleType(IType type) throws CoreException {
    String className = type.getElementName();
    if (!type.isAnonymous() && !startsWithUpper(className)) {
      markerFactory.createMarker(type,
        "Class name must start with upper case");
    }

To create your own detector plugin:

E-Mail me your detection example!

Additional

Debug your changes

Cool: Debug a running eclipse IDE.
Create a new Eclipse run configuration. Menu:

Main

Arguments

Plugins