I want to import and list semantic web (owl) file's classes into the eclipse. I am new to eclipse hence i might make simple mistakes but in my position it is not that simple. Throughout some research i found a code which i have used in eclipse. I am getting an error on `public void testAddAxioms()` specifically on the `void`. The code is below:

```
public static void main(String[] args) {
    File file = new File("file:c:/Users/DTN/Desktop/Final SubmissionFilteringMechanism_Ontology.owl");
    OWLOntologyManager m = OWLManager.createOWLOntologyManager();
    OWLDataFactory f = OWLManager.getOWLDataFactory();
    OWLOntology o = null;

    public void testAddAxioms() {
        try {
            o = m.loadOntologyFromOntologyDocument(Ont_Base_IRI);
            OWLClass clsA = f.getOWLClass(IRI.create(Ont_Base_IRI + "ClassA"));
            OWLClass clsB = f.getOWLClass(IRI.create(Ont_Base_IRI + "ClassB"));
            OWLAxiom ax1 = f.getOWLSubClassOfAxiom(clsA, clsB);
            AddAxiom addAxiom1 = new AddAxiom(o, ax1);
            m.applyChange(addAxiom1);

            for (OWLClass cls : o.getClassesInSignature()) {
                EditText edit = (EditText) findViewById(R.id.editText1);
                edit.setText((CharSequence) cls);
            }

            m.removeOntology(o);
        } catch (Exception e) {
            EditText edit = (EditText) findViewById(R.id.editText1);
            edit.setText("Not successfull");
        }
    }
}

```