All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.avaje.ebean.enhance.agent.MethodMeta Maven / Gradle / Ivy

There is a newer version: 8.1.1
Show newest version
package com.avaje.ebean.enhance.agent;

public class MethodMeta {

  private final String name;
  private final String desc;
	
  private final AnnotationInfo annotationInfo;
	
	public MethodMeta(AnnotationInfo classAnnotationInfo, int access, String name, String desc){
		this.annotationInfo = new AnnotationInfo(classAnnotationInfo);
		this.name = name;
		this.desc = desc;
	}
	
	public String toString() {
		return name+" "+desc;
	}
	
	public boolean isMatch(String methodName,String methodDesc){
		if (name.equals(methodName) && desc.equals(methodDesc)){
			return true;
		}
		return false;
	}

	public AnnotationInfo getAnnotationInfo() {
		return annotationInfo;
	}
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy