Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2004-2010 Oracle Corporation. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at Contributors: Kohsuke Kawaguchi /
package org.kohsuke.stapler;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

Indicates that this parameter is injected by evaluating StaplerRequest.findAncestorObject(java.lang.Class) with the parameter type.

Kohsuke Kawaguchi
public @interface AncestorInPath {
New to GrepCode? Check out our FAQ X