Code example for Set

Methods: addAll

0
	/** 
	 * Publish all interfaces that the given delegate implements at the proxy level. 
	 * @param delegate the delegate object 
	 */ 
	protected void implementInterfacesOnObject(Object delegate) { 
		this.publishedInterfaces.addAll(ClassUtils.getAllInterfacesAsSet(delegate));
	} 
 
	/** 
	 * Is this method on an introduced interface? 
	 * @param mi the method invocation 
	 * @return whether the invoked method is on an introduced interface 
	 */ 
	protected final boolean isMethodOnIntroducedInterface(MethodInvocation mi) {
		Boolean rememberedResult = this.rememberedMethods.get(mi.getMethod());
		if (rememberedResult != null) {
			return rememberedResult;
		} 
		else { 
			// Work it out and cache it.