public class AnnotationParser extends AnnotationParser
AnnotationParser.AbstractHandler, AnnotationParser.ClassInfo, AnnotationParser.FieldInfo, AnnotationParser.Handler, AnnotationParser.MethodInfo, AnnotationParser.MyClassVisitor, AnnotationParser.MyFieldVisitor, AnnotationParser.MyMethodVisitor
_parsedClassNames
Constructor and Description |
---|
AnnotationParser(int javaPlatform) |
Modifier and Type | Method and Description |
---|---|
protected org.osgi.framework.Bundle |
getBundle(Resource resource) |
protected Resource |
getResource(org.osgi.framework.Bundle bundle) |
protected java.net.URI |
getURI(org.osgi.framework.Bundle bundle) |
protected Resource |
indexBundle(org.osgi.framework.Bundle bundle)
Keep track of a jetty URI Resource and its associated OSGi bundle.
|
protected void |
parse(java.util.Set<? extends AnnotationParser.Handler> handlers,
org.osgi.framework.Bundle bundle) |
void |
parse(java.util.Set<? extends AnnotationParser.Handler> handlers,
java.net.URI[] uris)
Parse classes in the supplied uris.
|
addParsedClass, asmVersion, getParsedLocations, normalize, normalize, parse, parse, parse, parse, parse, parse, parse, parseDir, parseJar, parseJarEntry, resetParsedClasses, scanClass
protected Resource indexBundle(org.osgi.framework.Bundle bundle) throws java.lang.Exception
bundle
- the bundle to indexjava.lang.Exception
- if unable to create the resource referenceprotected java.net.URI getURI(org.osgi.framework.Bundle bundle)
protected Resource getResource(org.osgi.framework.Bundle bundle)
protected org.osgi.framework.Bundle getBundle(Resource resource)
public void parse(java.util.Set<? extends AnnotationParser.Handler> handlers, java.net.URI[] uris) throws java.lang.Exception
AnnotationParser
parse
in class AnnotationParser
handlers
- the handlers to look for classes inuris
- the uris for the jarsjava.lang.Exception
- if unable to parseprotected void parse(java.util.Set<? extends AnnotationParser.Handler> handlers, org.osgi.framework.Bundle bundle) throws java.lang.Exception
java.lang.Exception
Copyright © 1995–2023 Webtide. All rights reserved.