final Iterable<T> theIterable  final Predicate<? super T> thePredicate
core/src/com/clarkparsia/empire/Empire.java
try {
            return find(theIterable, thePredicate) != null;
boolean find2(final Iterable<T> theIterable, final Predicate<? super T> thePredicate)
core/src/com/clarkparsia/empire/annotation/AnnotationChecker.java
private AnnotationChecker()
final Field theField
core/src/com/clarkparsia/empire/annotation/RdfGenerator.java
if (theField.getAnnotation(RdfProperty.class) != null) {
						aAccessMap.put(FACTORY.createURI(PrefixMapping.GLOBAL.uri(theField.getAnnotation(RdfProperty.class).value())),
									   theField);
						aAccessMap.put(FACTORY.createURI(aBase + theField.getName()),
									   theField);

					return true;
			Iterables2.each(aMethods, new Predicate<Method>() {
				public boolean apply(final Method theMethod) {
					RdfProperty aAnnotation = BeanReflectUtil.getAnnotation(theMethod, RdfProperty.class);
						aAccessMap.put(FACTORY.createURI(PrefixMapping.GLOBAL.uri(aAnnotation.value())),
									   theMethod);

					return true;
		String aValue = hash(Strings2.getRandomString(10));
				aValue = Strings2.urlEncode(aValObj.toString());
				if (aValObj instanceof java.net.URI || NetUtils.isURI(aValObj.toString())) {
			PrefixMapping.GLOBAL.addMapping(aPrefix, aURI);
			ResourceBuilder aRes = aBuilder.instance(aBuilder.getValueFactory().createURI(PrefixMapping.GLOBAL.uri(aClass.value())),
								? aBuilder.getValueFactory().createURI(PrefixMapping.GLOBAL.uri(aPropertyAnnotation.value()))
			return Lists.newArrayList(Collections2.transform(theCollection, new AsValueFunction(theAccess)));
		return Strings2.hex(Strings2.md5(theObj.toString()));
			if (!Iterables2.find(aList, CONTAINS_RESOURCES)) {
					Collection<Value> aLangFiltered = Collections2.filter(aList, new Predicate<Value>() { public boolean apply(final Value theValue) { return ((Literal)theValue).getLanguage() == null;
boolean apply(final Field theField)
core/src/com/clarkparsia/empire/codegen/BeanGenerator.java
private BeanGenerator()
final Resource theValue
core/src/com/clarkparsia/empire/codegen/BeanGenerator.java
for (BindingSet aBinding : AdunaIterations.iterable(aResults)) {
				Collection aCollection = Sets.newHashSet(theGraph.getValues( (Resource) aBinding.getValue("s"), theProp));
			aLabel = ((URI) theClass).getLocalName();
		Collection<Resource> aClasses = Sets.newHashSet(Iterators.transform(new MultiIterator<Statement>(AdunaIterations.iterator(aRepository.getStatements(null, RDF.TYPE, RDFS.CLASS)),
																										 AdunaIterations.iterator(aRepository.getStatements(null, RDF.TYPE, OWL.CLASS))),
																			new StatementToSubject()));
		aClasses = Collections2.filter(aClasses, new Predicate<Resource>() { public boolean apply(Resource theRes) { return theRes instanceof URI;
boolean apply(final Resource theValue)
core/src/com/clarkparsia/empire/codegen/InstanceGenerator.java
private InstanceGenerator()
core/src/com/clarkparsia/empire/ds/DataSourceUtil.java
private DataSourceUtil()
com.hp.hpl.jena.rdf.model.Statement theStatement
jena/src/com/clarkparsia/empire/jena/JenaDataSource.java
return JenaSesameUtils.asSesameStatement(theStatement);
Statement apply(com.hp.hpl.jena.rdf.model.Statement theStatement)
core/src/com/clarkparsia/empire/annotation/RdfGenerator.java
if (getData().getAnnotation(RdfProperty.class) != null) {
						aAccessMap.put(FACTORY.createURI(NamespaceUtils.uri(getData().getAnnotation(RdfProperty.class).value())),
									   getData());
						aAccessMap.put(FACTORY.createURI(aBase + getData().getName()),
									   getData());
			CollectionUtil.each(aMethods, new AbstractDataCommand<Method>() {
				public void execute() {
					RdfProperty aAnnotation = BeanReflectUtil.getAnnotation(getData(), RdfProperty.class);
						aAccessMap.put(FACTORY.createURI(NamespaceUtils.uri(aAnnotation.value())),
									   getData());
		String aValue = hash(BasicUtils.getRandomString(10));
				aValue = Encoder.urlEncode(aValObj.toString());
				if (aValObj instanceof java.net.URI || BasicUtils.isURI(aValObj.toString())) {
			NamespaceUtils.addNamespace(aPrefix, aURI);
			ResourceBuilder aRes = aBuilder.instance(aBuilder.getValueFactory().createURI(NamespaceUtils.uri(aClass.value())),
								? aBuilder.getValueFactory().createURI(NamespaceUtils.uri(aPropertyAnnotation.value()))
			return CollectionUtil.list(CollectionUtil.transform(theCollection, new AsValueFunction(theAccess)));
		return BasicUtils.hex(BasicUtils.md5(theObj.toString()));
			if (!find(aList, CONTAINS_RESOURCES)) {
					Collection<Value> aLangFiltered = filter(aList, new Predicate<Value>() { public boolean accept(final Value theValue) { return ((Literal)theValue).getLanguage() == null;
void execute()
final Resource theValue
core/src/com/clarkparsia/empire/codegen/BeanGenerator.java
for (BindingSet aBinding : OpenRdfUtil.iterable(aResults)) {
				Collection aCollection = set(theGraph.getValues( (Resource) aBinding.getValue("s"), theProp));
			aLabel = NamespaceUtils.getLocalName(theClass.toString());
		Collection<Resource> aClasses = transform(new MultiIterator<Statement>(AdunaIterations.iterator(aRepository.getStatements(null, RDF.TYPE, RDFS.CLASS)),
																			   AdunaIterations.iterator(aRepository.getStatements(null, RDF.TYPE, OWL.CLASS))),
												  new StatementToSubject());
		aClasses = filter(aClasses, new Predicate<Resource>() { public boolean accept(Resource theRes) { return theRes instanceof URI;
boolean accept(final Resource theValue)
aStmts 
						 new Function<com.hp.hpl.jena.rdf.model.Statement  Statement>
jena/src/com/clarkparsia/empire/jena/JenaDataSource.java
public Statement apply(com.hp.hpl.jena.rdf.model.Statement theStatement) {
								 return JenaSesameUtils.asSesameStatement(theStatement);
return transform(aStmts,
						 new Function<com.hp.hpl.jena.rdf.model.Statement, Statement>()