Top Description Fields Constructors Methods
org.glassfish.jaxb.runtime.v2.model.annotation

public Class MethodLocatable<M>

extends Object
implements Locatable
Class Inheritance
All Implemented Interfaces
org.glassfish.jaxb.core.v2.model.annotation.Locatable
Imports
org.glassfish.jaxb.core.v2.model.annotation.Locatable, org.glassfish.jaxb.core.v2.model.nav.Navigator, org.glassfish.jaxb.core.v2.runtime.Location

Locatable implementation for a method.
Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
private final M
private final Locatable

Constructor Summary

AccessConstructor and Description
public
MethodLocatable(Locatable upstream, M method, Navigator<?, ?, ?, M> nav)

Method Summary

Modifier and TypeMethod and Description
public Location
getLocation()

Implements org.glassfish.jaxb.core.v2.model.annotation.Locatable.getLocation.

Gets the location object that this object points to.

public Locatable
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

methodback to summary
private final M method
upstreamback to summary
private final Locatable upstream

Constructor Detail

MethodLocatableback to summary
public MethodLocatable(Locatable upstream, M method, Navigator<?, ?, ?, M> nav)

Method Detail

getLocationback to summary
public Location getLocation()

Implements org.glassfish.jaxb.core.v2.model.annotation.Locatable.getLocation.

Doc from org.glassfish.jaxb.core.v2.model.annotation.Locatable.getLocation.

Gets the location object that this object points to. This operation could be inefficient and costly.

Annotations
@Override
getUpstreamback to summary
public Locatable getUpstream()

Implements org.glassfish.jaxb.core.v2.model.annotation.Locatable.getUpstream.

Doc from org.glassfish.jaxb.core.v2.model.annotation.Locatable.getUpstream.

Gets the upstream Location information.

Annotations
@Override