Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@2200 1c488680-804c-0410-94cd-c6b725194a0e
  • Loading branch information
pmuir committed Mar 25, 2009
1 parent 7f2de5b commit 3464675
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 21 deletions.
Expand Up @@ -154,8 +154,7 @@ private void createProducerMethods(AbstractClassBean<?> declaringBean, Annotated
{
for (AnnotatedMethod<?> method : annotatedClass.getDeclaredAnnotatedMethods(Produces.class))
{
createProducerMethod(declaringBean, method);

createProducerMethod(declaringBean, method);
}
}

Expand Down
Expand Up @@ -19,8 +19,6 @@

import java.lang.reflect.Field;

import javax.inject.manager.Manager;

/**
* AnnotatedField provides a uniform access to the annotations on an annotated
* field
Expand All @@ -47,18 +45,6 @@ public interface AnnotatedField<T> extends AnnotatedMember<T, Field>
*/
public void set(Object declaringInstance, Object value) throws IllegalArgumentException, IllegalAccessException;

/**
* Injects into the field using the value provided by the manager
*
* Unlike {@link #set(Object, Manager)} the field injected into is
* discovered from the declaring instance. This is slower, but safe to use
* with proxies.
*
* @param declaringInstance The instance to inject into
* @param value The value to inject
*/
public void setOnInstance(Object declaringInstance, Object value) throws IllegalArgumentException, SecurityException, IllegalAccessException, NoSuchFieldException;

public T get(Object instance);

/**
Expand Down
Expand Up @@ -49,11 +49,6 @@ public void set(Object declaringInstance, Object value) throws IllegalArgumentEx
delegate().set(declaringInstance, value);
}

public void setOnInstance(Object declaringInstance, Object value) throws IllegalArgumentException, SecurityException, IllegalAccessException, NoSuchFieldException
{
delegate().setOnInstance(declaringInstance, value);
}

public boolean isTransient()
{
return delegate().isTransient();
Expand Down

0 comments on commit 3464675

Please sign in to comment.