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

jedi.annotation.processor.model.JediField Maven / Gradle / Ivy

There is a newer version: 3.0.5
Show newest version
package jedi.annotation.processor.model;

import static jedi.functional.Coercions.list;

import java.util.List;

import jedi.annotation.writer.JavaWriter;
import jedi.functional.Functor;

public class JediField extends AbstractAnnotateable {
	public JediField(MemberDeclaration declaration, Class annotationClass, String name) {
		super(declaration, annotationClass, name);
	}

	public List getCutParameters() {
		return list();
	}

	public String getName(boolean simplified) {
		return name;
	}

	public List getUncutParameters() {
		return list();
	}

	public void writeGenericTypeParameters(JavaWriter writer) {
	}

	public void writeInvocation(JavaWriter writer, String receiverName, Functor attributeNameFunctor) {
		writer.print(receiverName + "." + getOriginalName());
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy